From: Owen W. Taylor Date: Tue, 7 Feb 2012 23:20:14 +0000 (-0500) Subject: Add -Wno-error=deprecated declarations X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~7083 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e3d0b6f90f2c64aa52de357a7aac3e3cd33455f4;p=gnome-shell.git Add -Wno-error=deprecated declarations Even with --enable-compile-warnings=error, avoid erroring out on deprecations for the moment, since we are hitting many Clutter deprecations and some are hard to fix. --- diff --git a/configure.ac b/configure.ac index 33e79db90..b33f99beb 100644 --- a/configure.ac +++ b/configure.ac @@ -199,7 +199,7 @@ if test "$enable_compile_warnings" != no ; then if test "$enable_compile_warnings" = error ; then case " $CFLAGS " in *[\ \ ]-Werror[\ \ ]*) ;; - *) CFLAGS="$CFLAGS -Werror" ;; + *) CFLAGS="$CFLAGS -Werror -Wno-error=deprecated-declarations" ;; esac fi fi